package com.engine.salary.entity.salaryacct.param;

import com.engine.salary.common.BaseQueryParam;
import com.engine.salary.common.LocalDateRange;
import com.engine.salary.enums.salarysob.SalaryEmployeeStatusEnum;
import com.engine.salary.util.valid.DataCheck;
import lombok.*;

import java.util.Collection;
import java.util.Date;
import java.util.List;
import java.util.Set;

/**
 * 薪资核算人员列表查询条件
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SalaryAcctEmployeeQueryParam extends BaseQueryParam {

    //薪资核算记录id")
    @DataCheck(require = true,message = "参数错误，薪资核算记录ID不能为空")
    private Long salaryAcctRecordId;

    //人员姓名")
    private String employeeName;

    //个税扣缴义务人")
    private Long taxAgentId;

    //分部
    private List<Long> subcompanyIds;

    //部门")
    private Collection<Long> departmentIds;


    //岗位")
    private Collection<Long> positionIds;

    /**
     * 状态
     * @see SalaryEmployeeStatusEnum
     */
    private SalaryEmployeeStatusEnum status;
    //状态(多选)
    private List<String> statuses;

    //离职日期")
    private LocalDateRange dismissDate;

    //薪资核算人员列表主键id")
    private List<Long> ids;

    private String workcode;

    private List<Long> taxAgentIds;
    private Set<Date> salaryMonths;


    private Collection<Long> salaryAcctRecordIds;
    private Collection<Long> salarySobIds;
    private Collection<Long> employeeIds;


}
